import _ from 'lodash';
import './style.css';
import Bg from './background.jpg';

function compoent() {
    var element =  document.createElement('div');

    element.innerHTML = _.join(['hello', 'webpack'], ' ');
    element.classList.add('hello');

    var bg = new Image();
    bg.src = Bg;

    element.appendChild(bg);
     return element;
}
document.body.appendChild(compoent());